﻿@mixin setLine($c:#CECECE, $dir:H) {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    @if $dir==H {
        width: 100%;
        height: 1px;
        border-top: 1px solid $c;
        transform: scaleY(0.5);
    }
    @else {
        width: 1px;
        height: 100%;
        border-left: 1px solid $c;
        transform: scaleX(0.5);
    }
    transform-origin: 0 0;
}

@mixin setTopLine($c: #C7C7C7) {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid $c;
    transform-origin: 0 0;
}

@mixin setBottomLine($c: #C7C7C7) {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid $c;
    transform-origin: 0 100%;
}

@mixin setLeftLine($c: #C7C7C7) {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    border-left: 1px solid $c;
    transform-origin: 0 0;
    transform: scaleX(0.5);
}

@mixin setRightLine($c: #C7C7C7) {
    content: " ";
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    border-right: 1px solid $c;
    transform-origin: 0 100%;
    transform: scaleX(0.5);
}
